package team.zero.lemon.module.workflow.dao;

import org.apache.ibatis.annotations.Param;
import team.zero.lemon.common.persistence.ICrudDao;
import team.zero.lemon.common.persistence.annotation.MyBatisDao;
import team.zero.lemon.module.workflow.entity.Instance;

import java.util.List;

@MyBatisDao
public interface IInstanceDao extends ICrudDao<Instance> {

    List<Instance> findMyCreateWorkflowPage(Instance instance);

    List<Instance> findMyInvolvedWorkflowPage(Instance instance);

    List<Instance> findMonitorWorkflowPage(Instance instance);
}